home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / python-support / python2.6 / rdflib / StringInputSource.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  925 b   |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from urllib2 import urlopen, Request
  5. from xml.sax.xmlreader import InputSource
  6. from rdflib import __version__
  7. from StringIO import StringIO
  8.  
  9. class StringInputSource(InputSource, object):
  10.     
  11.     def __init__(self, value, system_id = None):
  12.         super(StringInputSource, self).__init__(system_id)
  13.         stream = StringIO(value)
  14.         self.setByteStream(stream)
  15.  
  16.  
  17.